package org.jbit.buy.bizImpl;

import java.sql.SQLException;
import java.util.List;

import org.jbit.buy.biz.easybuy_newsBiz;
import org.jbit.buy.dao.easybuy_newsDao;
import org.jbit.buy.daoimpl.easybuy_newsImpl;
import org.jbit.buy.entity.easybuy_news;

public class easybuy_newsBizImpl implements easybuy_newsBiz {
       easybuy_newsDao en= new easybuy_newsImpl();
	
	public List<easybuy_news> findAllNews() throws SQLException {
		
		return en.findAllNews();
	}

	@Override
	public int getTotslCount() {
		// TODO Auto-generated method stub
		return en.getTotslCount();
	}

	@Override
	public List<easybuy_news> getAllNewsByPage(int pageNo, int pageSize)
			throws SQLException {
		// TODO Auto-generated method stub
		return en.getAllNewsByPage(pageNo, pageSize);
	}

}
